<?php
class Class_Message

{
    public static function get($key){
        global $messages;
if (!empty($key) and !empty ($messages [$key] ))
        
{
    return $messages[$key];    
}
else
    die('variable de configuracion no existe1');
    
}
    
}
?>